    <div class="main-content">
        <!-- Content Header (Page header) -->
        <div class="breadcrumbs" id="breadcrumbs">
        	<script type="text/javascript">
				try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
			</script>
			<ul class="breadcrumb">
				<li>
					<i class="icon-home home-icon"></i>
					<a href="#">加油站管理</a>
				</li>
	
				<li>
					<a href="#">打印机设置</a>
				</li>
				<li class="active">参数配置</li>
			</ul><!-- .breadcrumb -->
        </div>
        <!-- Main content -->
        <div class="page-content">
        	<div class="page-header">
				<h1>参数配置</h1>
			</div>
	        <div class="row">
				<div class="col-xs-12">
		            <!-- general form elements disabled -->
		            <form id="usrform" role="form" action="<?php echo base_url().'admin/gasstation/set';?>" method="post">
                		<?php if (isset($success)&&$success=="success"){?>
	                	<div class="alert alert-success alert-dismissable">
                        	保存成功
						</div>
						<?php }?>
                        <div class="form-group col-xs-6">
                            <label>user</label>
                            <input name="fg_user" type="text" value="<?php echo $return->fg_user?>" class="form-control" placeholder="输入 ..." check-type="required">
                        </div>
                        <div class="form-group col-xs-6">
                            <label>ukey</label>
                            <input name="fg_ukey" type="text" value="<?php echo $return->fg_ukey?>" class="form-control" placeholder="输入 ..." check-type="required">
                        </div>
                        <div class="form-group col-xs-6">
                            <label>ip</label>
                            <input name="fg_ip" type="text" value="<?php echo $return->fg_ip?>" class="form-control" placeholder="输入 ..." check-type="required">
                        </div>
                        <div class="form-group col-xs-6">
                            <label>post</label>
                            <input name="fg_post" type="text" value="<?php echo $return->fg_post?>" class="form-control" placeholder="输入 ..." check-type="required">
                        </div>
                        <div class="form-group col-xs-6">
                            <label>hostname</label>
                            <input name="fg_hostname" type="text" value="<?php echo $return->fg_hostname?>" class="form-control" placeholder="输入 ..." check-type="required">
                        </div>
					<div class="clearfix form-actions">
                        <div class="col-md-offset-3 col-md-9">
							<button id="btnSubmit" class="btn btn-info" type="submit">
								<i class="icon-ok bigger-110"></i>
								保存
							</button>
						</div>
					</div>
	                </form>
		        </div>
			</div>
        </div><!-- /.page-content -->
    </div><!-- /.main-content -->
	<script type="text/javascript">
	$("#usrform").validation();
	//保存
	$("#btnSubmit").on('click',function(event){
	  // 2.最后要调用 valid()方法。
	  if ($("#usrform").valid()==false){
	    return false;
	  }
	});
	</script>